let btn  = document.querySelector('.btn')
let nav = document.querySelector('.nav')

let show = true
btn.addEventListener('click',function(){
  if(show){
    nav.classList.remove('active')
  }else{
    nav.classList.add('active')
  }
  show = !show
})